sdusage module¶
-
class
sd.api.sdusage.SDUsage(APIContext, handle, *args, **kwargs)¶ Bases:
sd.api.sdapiobject.SDAPIObjectDescription of an input or output usage
-
getClassName() → str¶ Returns the most specific name of the class this APIObject is
-
getColorSpace() → str¶ Get the color space associated to the current usage (sRGB, linear, …)
-
getComponents() → str¶ Get the components associated to the current usage (R, G, B, A, RGB or RGBA)
-
getName() → str¶ Get the usage name
-
release() → None¶ Releases an APIObject
-
static
sNew(name: str, components: str, colorSpace: str) → sd.api.sdusage.SDUsage¶ Create a new SDUsage
- Parameters
name – The name of the usage
components – The components of the usage
colorSpace – The color space of the usage
-